import request from "@/utils/request";

// 获取列表
export function getAllList(query) {
  return request({
    url: `/resetPrice/getPage/${query.xsemId}`,
    method: "get",
    params: query,
  });
}

// 修改
export function updateData(data) {
  return request({
    url: "/resetPrice/updateById",
    method: "post",
    data:data
  });
}

// 查看
export function getDetail(id) {
  return request({
    url: "/resetPrice/findById",
    method: "get",
    params:id
  });
}

//删除
export function del(id) {
  return request({
    url: "/resetPrice/deleteById/"+id,
    method: "post",
  });
}
